package com.xiaoshuidi.cloud.framework.systemevent.core.data;

import com.xiaoshuidi.cloud.framework.systemevent.core.LeaseSystemEventData;
import com.xiaoshuidi.cloud.framework.systemevent.core.LeaseSystemEventTypeEnum;
import lombok.Data;
import lombok.ToString;

@Data
@ToString(callSuper = true)
public class LeaseSystemEventMobileModify implements LeaseSystemEventData {

    private Long oldUserId;
    private Long userId;
    private String oldMobile;
    private String mobile;
    private String userName;
    private String ext;

    public LeaseSystemEventTypeEnum getType() {
        return LeaseSystemEventTypeEnum.MOBILE_MODIFY;
    }

}
